import { createStore, combineReducers } from 'redux';

// 导入 reducer
import { todos } from './reducers/todos';
// 其他reducer

// 合并多个reducer
const rootReducer = combineReducers({
  todos,
});

// 创建 store
export const store = createStore(rootReducer);
